// 导入components组件进行全局注册
import pageTools from '@/components/pageTools'
import uploadImg from '@/components/uploadImg'

export default {
  install(obj) { // install中vue===obj
    // console.log(obj, 'obj')
    // 插件中全局注册组件
    obj.component('pageTools', pageTools)
    obj.component('uploadImg', uploadImg)
  } }
